/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ZhongJinTao
 * Date: 2024-10-20
 * Time: 10:48
 */
public class Main {
    public static void main(String[] args) {
        Solution2 solution = new Solution2();
        solution.longestOnes(new int[]{1,1,1,0,0,0,1,1,1,1,0}, 2);
    }
}